<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
html {
  font-family: Arial,Helvetica,sans-serif;
  background-color: white;
  color: black;
}
table {
  border-collapse: collapse;
  empty-cells: show;
  margin: 1em 0em;
  border: 1px solid black;
}
th, td {
  border: 1px solid black;
  padding: 0.1em 0.2em;
  height: 1.5em;
  width: 12em;
}
td.colspan4, th.colspan4 {
    width: 48em;
}
td.colspan3, th.colspan3 {
    width: 36em;
}
td.colspan2, th.colspan2 {
    width: 24em;
}
th {
  background-color: rgb(192, 192, 192);
  color: black;
  height: 1.7em;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.1em;
}
td.name {
  background-color: rgb(240, 240, 240);
  letter-spacing: 0.1em;
}
td.name, th.name {
  width: 10em;
}
</style>
<title>Common Resources</title>
</head>
<body>
<h1>Common Resources</h1>
<table border="1" id="setting">
<tr>
<th class="name" colspan="5">Setting</th>
</tr>
<tr>
<td class="name">Library</td>
<td>OperatingSystem</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Library</td>
<td>String</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">Library</td>
<td>SSHLibrary</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<table border="1" id="variable">
<tr>
<th class="name" colspan="5">Variable</th>
</tr>
<tr>
<td class="name">${LOG_DIR}</td>
<td>/opt/tomcat/logs/</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${TOMCAT_HOME}</td>
<td>/opt/</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${ARCHIVE_SERVER}</td>
<td>testlink</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${ARCHIVE_SERVER_USER}</td>
<td>autobot</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${ARCHIVE_SERVER_PASSWORD}</td>
<td>5t</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${INVALID_DATE}</td>
<td>2012-01-32</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${NULL_MSG}</td>
<td>Null</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${NOAUTH}</td>
<td>NOAUTH</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${FORMAT_XML}</td>
<td>xml</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${FORMAT_JSON}</td>
<td>json</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${EMPTY_JSON_RESPONSE}</td>
<td>{}</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">@{LOG_FILES}</td>
<td>catalina.out</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name">${LOCAL_TEMP_LOG_DIR}</td>
<td>..${/}robottests${/}reports${/}temp${/}</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
<table border="1" id="keyword">
<tr>
<th class="name" colspan="5">Keyword</th>
</tr>
<tr>
<td class="name"><a name="keyword_Clear All Logs">Clear All Logs</a></td>
<td>Open Connection</td>
<td>${HOST_IP}</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>Login</td>
<td>${SSH_ADMIN_USER_NAME}</td>
<td>${SSH_ADMIN_PASSWORD}</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>${clear_command} =</td>
<td>Catenate</td>
<td>SEPARATOR=;&gt;</td>
<td>@{LOG_FILES}</td>
</tr>
<tr>
<td class="name"></td>
<td>Execute Command</td>
<td>cd ${LOG_DIR};&gt;${clear_command}</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>Close Connection</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"><a name="keyword_Archive Logs">Archive Logs</a></td>
<td>[Documentation]</td>
<td class="colspan3" colspan="3">Expand the last keyword (BuiltIn.Log) to find the direct link to the logs.</td>
</tr>
<tr>
<td class="name"></td>
<td>Open Connection</td>
<td>${HOST_IP}</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>Login</td>
<td>${SSH_ADMIN_USER_NAME}</td>
<td>${SSH_ADMIN_PASSWORD}</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>${SUITE_DIR} =</td>
<td>Replace String</td>
<td>${SUITE_NAME}</td>
<td>.</td>
</tr>
<tr>
<td class="name"></td>
<td>...</td>
<td>/</td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>: FOR</td>
<td>${log_file}</td>
<td>IN</td>
<td>@{LOG_FILES}</td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td>SSHLibrary.Get File</td>
<td>${LOG_DIR}${log_file}</td>
<td>${LOCAL_TEMP_LOG_DIR}</td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td>Copy File</td>
<td>${LOCAL_TEMP_LOG_DIR}${log_file}</td>
<td>${LOCAL_TEMP_LOG_DIR}${SUITE_DIR}/${TEST_NAME}/</td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td>Remove File</td>
<td>${LOCAL_TEMP_LOG_DIR}${log_file}</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>Close Connection</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>Log</td>
<td>&lt;a href="${SUITE_DIR}/${TEST_NAME}/"&gt;Link to AAS log files&lt;/a&gt;</td>
<td>HTML</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"><a name="keyword_Generic Test Case Setup">Generic Test Case Setup</a></td>
<td>Run Keyword If</td>
<td>'${SAVE_LOGS}' == 'TRUE'</td>
<td>Clear All Logs</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"><a name="keyword_Generic Test Case Teardown">Generic Test Case Teardown</a></td>
<td>Run Keyword If</td>
<td>'${SAVE_LOGS}' == 'TRUE'</td>
<td>Run Keyword If Test Failed</td>
<td>Archive Logs</td>
</tr>
<tr>
<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td class="name"><a name="keyword_Does ${X} Contain ${Y}">Does ${X} Contain ${Y}</a></td>
<td>${pass_or_fail}</td>
<td>${foo}</td>
<td>Run Keyword And Ignore Error</td>
<td>Should Contain</td>
</tr>
<tr>
<td class="name"></td>
<td>...</td>
<td>${X}</td>
<td>${Y}</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>${true_or_false}</td>
<td>Evaluate</td>
<td>'${pass_or_fail}' == 'PASS'</td>
<td></td>
</tr>
<tr>
<td class="name"></td>
<td>[Return]</td>
<td>${true_or_false}</td>
<td></td>
<td></td>
</tr>
</table>
</body>
</html>
